package logica;

import static org.junit.Assert.*;

import org.junit.*;

public class pagarDividaTest {
	
	Cliente c1 = new Cliente();
	int divida_inicial = 50;
	
	@Before
	public void prepararTeste(){
		c1.setDivida(divida_inicial);
	}
	
	@Test
	public void testarPagarDivida(){
		assertEquals(divida_inicial,c1.getDivida());
		c1.pagarDivida();
		assertEquals(0,c1.getDivida());
	}
}
